## Show that help text is printed correctly when requested.

# RUN: obj2yaml -h | FileCheck %s --check-prefixes=CHECK,CATEG --implicit-check-not=Options:
# RUN: obj2yaml --help | FileCheck %s --check-prefixes=CHECK,CATEG --implicit-check-not=Options:
# RUN: obj2yaml --help-list | FileCheck %s --implicit-check-not=Options:

# CHECK: OVERVIEW: Dump a YAML description from an object file
# CHECK: USAGE: obj2yaml{{(.exe)?}} [options] <input file>{{$}}
# CHECK: OPTIONS:
# CATEG: Generic Options:
# CATEG: obj2yaml Options:
